# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Laszlo Papp <djszapi @ gmail at com>
# Contributor: Dmitry ixaphire_at-gmail-dot+com 

pkgname=vim-jad
pkgver=1.3
pkgrel=3
pkgdesc='Automatically decompiles java class files and displays java code'
arch=('any')
url='http://www.vim.org/scripts/script.php?script_id=446'
license=('custom')
depends=('vim' 'jad')
groups=('vim-plugins')
install="$pkgname.install"
source=("$pkgname::http://www.vim.org/scripts/download_script.php?src_id=1329"
        'LICENSE')
sha256sums=('26a11cb99945c44e817ac39243246be906f160fdfc850a33511005079b48c7ad'
            '4689a6d3ed3bca186ab8fea8360f32fdbb84f84c82fb21698390202efa7b7d19')

build() {
  cd "$srcdir"

  install -Dm644 "$srcdir/$pkgname" "$pkgdir/usr/share/vim/vimfiles/plugin/jad.vim"
  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et:
